<h1>Listing discards</h1>

<table>
  <tr>
    <th>Word</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @discards.each do |discard| %>
  <tr>
    <td><%= discard.word %></td>
    <td><%= link_to 'Show', discard %></td>
    <td><%= link_to 'Edit', edit_discard_path(discard) %></td>
    <td><%= link_to 'Destroy', discard, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Discard', new_discard_path %>
